package com.ys.sboot.action;

import com.ys.sboot.vo.UserVO;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>@description:</p>
 *
 * @author shuangyang
 * @version 1.0
 * @date 18-3-13 下午9:47
 */
@RestController
public class UserAction {


    @GetMapping(value = "getUser")
    public UserVO getUser() {

        UserVO userVo = new UserVO();

        userVo.setName("ｎａｍｅ");

        userVo.setNickName("nick sq1223234ssssdddss4553dggee");

        return userVo;
    }
}
